package com.hongdee.scm.inputinvoice.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Mr. Xu on 2017/7/11.
 * 成本差异
 */
@Entity
@Table(name = "T_SCM_COST_DIFFERENCE")
public class TScmCostDifference extends BaseEntity {
    /**
     * vin
     */
    @Column(name = "vin", length=32, columnDefinition = " VARCHAR(32) COMMENT 'vin' ")
    private String vin;
    /**
     * 历史成本
     */
    @Column(name = "old_cost", length=32, columnDefinition = " VARCHAR(32) COMMENT '历史成本' ")
    private String oldCost;
    /**
     * 新成本
     */
    @Column(name = "new_cost", length=32, columnDefinition = " VARCHAR(32) COMMENT '新成本' ")
    private String newCost;
    /**
     * 修改时间
     */
    @Column(name = "modify_date", length=32, columnDefinition = " VARCHAR(32) COMMENT '修改时间' ")
    private String modifyDate;
    /**
     * 车辆Id
     */
    @Column(name = "car_id", length=32, columnDefinition = " VARCHAR(32) COMMENT '车辆id' ")
    private String carId;

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getOldCost() {
        return oldCost;
    }

    public void setOldCost(String oldCost) {
        this.oldCost = oldCost;
    }

    public String getNewCost() {
        return newCost;
    }

    public void setNewCost(String newCost) {
        this.newCost = newCost;
    }

    public String getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(String modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }
}
